package com.verbetia.mbrainz.search;

import java.util.ArrayList;

import com.verbetia.mbrainz.tags.TagItem;
import com.verbetia.mbrainz.tags.TagTrackReader;

public class TrackSearchTag {
	
	
	
	public ArrayList<TagItem> searchTrackTags(String title, String artist)
	{
		TagTrackReader ttr = new TagTrackReader(title, artist);
		
		return ttr.getTags();
		
	}
	
	public String setSizeClass(int count)
	{
		if (count>0 && count<11)
				return "cloud0";
		if (count>10 && count<21)
			return "cloud1";
		if (count>20 && count<31)
			return "cloud2";
		if (count>30 && count<41)
			return "cloud3";
		if (count>40 && count<51)
			return "cloud4";
		if (count>50 && count<61)
			return "cloud5";
		if (count>60 && count<71)
			return "cloud6";
		if (count>70 && count<81)
			return "cloud7";
		if (count>80 && count<91)
			return "cloud8";
		if (count>90)
			return "cloud9";


		
		
		return "cloud0";
		
	}

}
